3.381 \(\int \frac {A+B \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) (a+b \cos (c+d x))^3} \, dx\)
Optimal. Leaf size=420 \[ \frac {b (A b-a B) \sin (c+d x)}{2 a d \left (a^2-b^2\right ) \sqrt {\cos (c+d x)} (a+b \cos (c+d x))^2}+\frac {\left (-7 a^3 B+11 a^2 A b+a b^2 B-5 A b^3\right ) F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^2 d \left (a^2-b^2\right )^2}+\frac {b \left (-7 a^3 B+11 a^2 A b+a b^2 B-5 A b^3\right ) \sin (c+d x)}{4 a^2 d \left (a^2-b^2\right )^2 \sqrt {\cos (c+d x)} (a+b \cos (c+d x))}-\frac {\left (8 a^4 A+9 a^3 b B-29 a^2 A b^2-3 a b^3 B+15 A b^4\right ) E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^3 d \left (a^2-b^2\right )^2}+\frac {\left (8 a^4 A+9 a^3 b B-29 a^2 A b^2-3 a b^3 B+15 A b^4\right ) \sin (c+d x)}{4 a^3 d \left (a^2-b^2\right )^2 \sqrt {\cos (c+d x)}}-\frac {\left (-15 a^5 B+35 a^4 A b+6 a^3 b^2 B-38 a^2 A b^3-3 a b^4 B+15 A b^5\right ) \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^3 d (a-b)^2 (a+b)^3} \]
[Out]
-1/4*(8*A*a^4-29*A*a^2*b^2+15*A*b^4+9*B*a^3*b-3*B*a*b^3)*(cos(1/2*d*x+1/2*c)^2)^(1/2)/cos(1/2*d*x+1/2*c)*Ellip
ticE(sin(1/2*d*x+1/2*c),2^(1/2))/a^3/(a^2-b^2)^2/d+1/4*(11*A*a^2*b-5*A*b^3-7*B*a^3+B*a*b^2)*(cos(1/2*d*x+1/2*c
)^2)^(1/2)/cos(1/2*d*x+1/2*c)*EllipticF(sin(1/2*d*x+1/2*c),2^(1/2))/a^2/(a^2-b^2)^2/d-1/4*(35*A*a^4*b-38*A*a^2
*b^3+15*A*b^5-15*B*a^5+6*B*a^3*b^2-3*B*a*b^4)*(cos(1/2*d*x+1/2*c)^2)^(1/2)/cos(1/2*d*x+1/2*c)*EllipticPi(sin(1
/2*d*x+1/2*c),2*b/(a+b),2^(1/2))/a^3/(a-b)^2/(a+b)^3/d+1/4*(8*A*a^4-29*A*a^2*b^2+15*A*b^4+9*B*a^3*b-3*B*a*b^3)
*sin(d*x+c)/a^3/(a^2-b^2)^2/d/cos(d*x+c)^(1/2)+1/2*b*(A*b-B*a)*sin(d*x+c)/a/(a^2-b^2)/d/(a+b*cos(d*x+c))^2/cos
(d*x+c)^(1/2)+1/4*b*(11*A*a^2*b-5*A*b^3-7*B*a^3+B*a*b^2)*sin(d*x+c)/a^2/(a^2-b^2)^2/d/(a+b*cos(d*x+c))/cos(d*x
+c)^(1/2)
________________________________________________________________________________________
Rubi [A] time = 1.47, antiderivative size = 420, normalized size of antiderivative = 1.00,
number of steps used = 8, number of rules used = 7, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.212, Rules used =
{3000, 3055, 3059, 2639, 3002, 2641, 2805} \[ \frac {\left (11 a^2 A b-7 a^3 B+a b^2 B-5 A b^3\right ) F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^2 d \left (a^2-b^2\right )^2}-\frac {\left (-29 a^2 A b^2+8 a^4 A+9 a^3 b B-3 a b^3 B+15 A b^4\right ) E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^3 d \left (a^2-b^2\right )^2}-\frac {\left (-38 a^2 A b^3+35 a^4 A b+6 a^3 b^2 B-15 a^5 B-3 a b^4 B+15 A b^5\right ) \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^3 d (a-b)^2 (a+b)^3}+\frac {\left (-29 a^2 A b^2+8 a^4 A+9 a^3 b B-3 a b^3 B+15 A b^4\right ) \sin (c+d x)}{4 a^3 d \left (a^2-b^2\right )^2 \sqrt {\cos (c+d x)}}+\frac {b \left (11 a^2 A b-7 a^3 B+a b^2 B-5 A b^3\right ) \sin (c+d x)}{4 a^2 d \left (a^2-b^2\right )^2 \sqrt {\cos (c+d x)} (a+b \cos (c+d x))}+\frac {b (A b-a B) \sin (c+d x)}{2 a d \left (a^2-b^2\right ) \sqrt {\cos (c+d x)} (a+b \cos (c+d x))^2} \]
Antiderivative was successfully verified.
[In]
Int[(A + B*Cos[c + d*x])/(Cos[c + d*x]^(3/2)*(a + b*Cos[c + d*x])^3),x]
[Out]
-((8*a^4*A - 29*a^2*A*b^2 + 15*A*b^4 + 9*a^3*b*B - 3*a*b^3*B)*EllipticE[(c + d*x)/2, 2])/(4*a^3*(a^2 - b^2)^2*
d) + ((11*a^2*A*b - 5*A*b^3 - 7*a^3*B + a*b^2*B)*EllipticF[(c + d*x)/2, 2])/(4*a^2*(a^2 - b^2)^2*d) - ((35*a^4
*A*b - 38*a^2*A*b^3 + 15*A*b^5 - 15*a^5*B + 6*a^3*b^2*B - 3*a*b^4*B)*EllipticPi[(2*b)/(a + b), (c + d*x)/2, 2]
)/(4*a^3*(a - b)^2*(a + b)^3*d) + ((8*a^4*A - 29*a^2*A*b^2 + 15*A*b^4 + 9*a^3*b*B - 3*a*b^3*B)*Sin[c + d*x])/(
4*a^3*(a^2 - b^2)^2*d*Sqrt[Cos[c + d*x]]) + (b*(A*b - a*B)*Sin[c + d*x])/(2*a*(a^2 - b^2)*d*Sqrt[Cos[c + d*x]]
*(a + b*Cos[c + d*x])^2) + (b*(11*a^2*A*b - 5*A*b^3 - 7*a^3*B + a*b^2*B)*Sin[c + d*x])/(4*a^2*(a^2 - b^2)^2*d*
Sqrt[Cos[c + d*x]]*(a + b*Cos[c + d*x]))
Rule 2639
Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]
Rule 2641
Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticF[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ
[{c, d}, x]
Rule 2805
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp
[(2*EllipticPi[(2*b)/(a + b), (1*(e - Pi/2 + f*x))/2, (2*d)/(c + d)])/(f*(a + b)*Sqrt[c + d]), x] /; FreeQ[{a,
b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[c + d, 0]
Rule 3000
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e
_.) + (f_.)*(x_)])^(n_), x_Symbol] :> -Simp[((A*b^2 - a*b*B)*Cos[e + f*x]*(a + b*Sin[e + f*x])^(m + 1)*(c + d*
Sin[e + f*x])^(1 + n))/(f*(m + 1)*(b*c - a*d)*(a^2 - b^2)), x] + Dist[1/((m + 1)*(b*c - a*d)*(a^2 - b^2)), Int
[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n*Simp[(a*A - b*B)*(b*c - a*d)*(m + 1) + b*d*(A*b - a*B)*(m
+ n + 2) + (A*b - a*B)*(a*d*(m + 1) - b*c*(m + 2))*Sin[e + f*x] - b*d*(A*b - a*B)*(m + n + 3)*Sin[e + f*x]^2,
x], x], x] /; FreeQ[{a, b, c, d, e, f, A, B, n}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^
2, 0] && RationalQ[m] && m < -1 && ((EqQ[a, 0] && IntegerQ[m] && !IntegerQ[n]) || !(IntegerQ[2*n] && LtQ[n,
-1] && ((IntegerQ[n] && !IntegerQ[m]) || EqQ[a, 0])))
Rule 3002
Int[(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)]))/((c_.) + (d_.)*sin[
(e_.) + (f_.)*(x_)]), x_Symbol] :> Dist[B/d, Int[(a + b*Sin[e + f*x])^m, x], x] - Dist[(B*c - A*d)/d, Int[(a +
b*Sin[e + f*x])^m/(c + d*Sin[e + f*x]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B, m}, x] && NeQ[b*c - a*d, 0]
&& NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Rule 3055
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)*((A_.) + (B_.)*s
in[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> -Simp[((A*b^2 - a*b*B + a^2*C)*Cos[e +
f*x]*(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^(n + 1))/(f*(m + 1)*(b*c - a*d)*(a^2 - b^2)), x] + Dis
t[1/((m + 1)*(b*c - a*d)*(a^2 - b^2)), Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n*Simp[(m + 1)*(b
*c - a*d)*(a*A - b*B + a*C) + d*(A*b^2 - a*b*B + a^2*C)*(m + n + 2) - (c*(A*b^2 - a*b*B + a^2*C) + (m + 1)*(b*
c - a*d)*(A*b - a*B + b*C))*Sin[e + f*x] - d*(A*b^2 - a*b*B + a^2*C)*(m + n + 3)*Sin[e + f*x]^2, x], x], x] /;
FreeQ[{a, b, c, d, e, f, A, B, C, n}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && Lt
Q[m, -1] && ((EqQ[a, 0] && IntegerQ[m] && !IntegerQ[n]) || !(IntegerQ[2*n] && LtQ[n, -1] && ((IntegerQ[n] &&
!IntegerQ[m]) || EqQ[a, 0])))
Rule 3059
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2)/(Sqrt[(a_.) + (b_.)*sin[(e_.) +
(f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])), x_Symbol] :> Dist[C/(b*d), Int[Sqrt[a + b*Sin[e + f*x]]
, x], x] - Dist[1/(b*d), Int[Simp[a*c*C - A*b*d + (b*c*C - b*B*d + a*C*d)*Sin[e + f*x], x]/(Sqrt[a + b*Sin[e +
f*x]]*(c + d*Sin[e + f*x])), x], x] /; FreeQ[{a, b, c, d, e, f, A, B, C}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2
- b^2, 0] && NeQ[c^2 - d^2, 0]
Rubi steps
\begin {align*} \int \frac {A+B \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) (a+b \cos (c+d x))^3} \, dx &=\frac {b (A b-a B) \sin (c+d x)}{2 a \left (a^2-b^2\right ) d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))^2}+\frac {\int \frac {\frac {1}{2} \left (4 a^2 A-5 A b^2+a b B\right )-2 a (A b-a B) \cos (c+d x)+\frac {3}{2} b (A b-a B) \cos ^2(c+d x)}{\cos ^{\frac {3}{2}}(c+d x) (a+b \cos (c+d x))^2} \, dx}{2 a \left (a^2-b^2\right )}\\ &=\frac {b (A b-a B) \sin (c+d x)}{2 a \left (a^2-b^2\right ) d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))^2}+\frac {b \left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) \sin (c+d x)}{4 a^2 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))}+\frac {\int \frac {\frac {1}{4} \left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right )-a \left (4 a^2 A b-A b^3-2 a^3 B-a b^2 B\right ) \cos (c+d x)+\frac {1}{4} b \left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) \cos ^2(c+d x)}{\cos ^{\frac {3}{2}}(c+d x) (a+b \cos (c+d x))} \, dx}{2 a^2 \left (a^2-b^2\right )^2}\\ &=\frac {\left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right ) \sin (c+d x)}{4 a^3 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)}}+\frac {b (A b-a B) \sin (c+d x)}{2 a \left (a^2-b^2\right ) d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))^2}+\frac {b \left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) \sin (c+d x)}{4 a^2 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))}+\frac {\int \frac {\frac {1}{8} \left (-24 a^4 A b+33 a^2 A b^3-15 A b^5+8 a^5 B-5 a^3 b^2 B+3 a b^4 B\right )-\frac {1}{2} a \left (2 a^4 A-10 a^2 A b^2+5 A b^4+4 a^3 b B-a b^3 B\right ) \cos (c+d x)-\frac {1}{8} b \left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right ) \cos ^2(c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx}{a^3 \left (a^2-b^2\right )^2}\\ &=\frac {\left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right ) \sin (c+d x)}{4 a^3 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)}}+\frac {b (A b-a B) \sin (c+d x)}{2 a \left (a^2-b^2\right ) d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))^2}+\frac {b \left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) \sin (c+d x)}{4 a^2 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))}-\frac {\int \frac {\frac {1}{8} b \left (24 a^4 A b-33 a^2 A b^3+15 A b^5-8 a^5 B+5 a^3 b^2 B-3 a b^4 B\right )-\frac {1}{8} a b^2 \left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx}{a^3 b \left (a^2-b^2\right )^2}-\frac {\left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right ) \int \sqrt {\cos (c+d x)} \, dx}{8 a^3 \left (a^2-b^2\right )^2}\\ &=-\frac {\left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right ) E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^3 \left (a^2-b^2\right )^2 d}+\frac {\left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right ) \sin (c+d x)}{4 a^3 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)}}+\frac {b (A b-a B) \sin (c+d x)}{2 a \left (a^2-b^2\right ) d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))^2}+\frac {b \left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) \sin (c+d x)}{4 a^2 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))}+\frac {\left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{8 a^2 \left (a^2-b^2\right )^2}-\frac {\left (35 a^4 A b-38 a^2 A b^3+15 A b^5-15 a^5 B+6 a^3 b^2 B-3 a b^4 B\right ) \int \frac {1}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx}{8 a^3 \left (a^2-b^2\right )^2}\\ &=-\frac {\left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right ) E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^3 \left (a^2-b^2\right )^2 d}+\frac {\left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^2 \left (a^2-b^2\right )^2 d}-\frac {\left (35 a^4 A b-38 a^2 A b^3+15 A b^5-15 a^5 B+6 a^3 b^2 B-3 a b^4 B\right ) \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right )}{4 a^3 (a-b)^2 (a+b)^3 d}+\frac {\left (8 a^4 A-29 a^2 A b^2+15 A b^4+9 a^3 b B-3 a b^3 B\right ) \sin (c+d x)}{4 a^3 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)}}+\frac {b (A b-a B) \sin (c+d x)}{2 a \left (a^2-b^2\right ) d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))^2}+\frac {b \left (11 a^2 A b-5 A b^3-7 a^3 B+a b^2 B\right ) \sin (c+d x)}{4 a^2 \left (a^2-b^2\right )^2 d \sqrt {\cos (c+d x)} (a+b \cos (c+d x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 5.51, size = 458, normalized size = 1.09 \[ \frac {\frac {\sqrt {\cos (c+d x)} \left (16 A \left (a^3-a b^2\right )^2 \tan (c+d x)+b^2 \left (8 a^4 A+9 a^3 b B-29 a^2 A b^2-3 a b^3 B+15 A b^4\right ) \sin (2 (c+d x))+2 a b \left (16 a^4 A+11 a^3 b B-47 a^2 A b^2-5 a b^3 B+25 A b^4\right ) \sin (c+d x)\right )}{\left (a^2-b^2\right )^2 (a+b \cos (c+d x))^2}-\frac {\frac {8 a \left (2 a^4 A+4 a^3 b B-10 a^2 A b^2-a b^3 B+5 A b^4\right ) \left ((a+b) F\left (\left .\frac {1}{2} (c+d x)\right |2\right )-a \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right )\right )}{b (a+b)}+\frac {\left (8 a^4 A+9 a^3 b B-29 a^2 A b^2-3 a b^3 B+15 A b^4\right ) \sin (c+d x) \left (\left (b^2-2 a^2\right ) \Pi \left (-\frac {b}{a};\left .\sin ^{-1}\left (\sqrt {\cos (c+d x)}\right )\right |-1\right )+2 a (a+b) F\left (\left .\sin ^{-1}\left (\sqrt {\cos (c+d x)}\right )\right |-1\right )-2 a b E\left (\left .\sin ^{-1}\left (\sqrt {\cos (c+d x)}\right )\right |-1\right )\right )}{a b \sqrt {\sin ^2(c+d x)}}+\frac {\left (-16 a^5 B+56 a^4 A b+19 a^3 b^2 B-95 a^2 A b^3-9 a b^4 B+45 A b^5\right ) \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right )}{a+b}}{(a-b)^2 (a+b)^2}}{8 a^3 d} \]
Antiderivative was successfully verified.
[In]
Integrate[(A + B*Cos[c + d*x])/(Cos[c + d*x]^(3/2)*(a + b*Cos[c + d*x])^3),x]
[Out]
(-((((56*a^4*A*b - 95*a^2*A*b^3 + 45*A*b^5 - 16*a^5*B + 19*a^3*b^2*B - 9*a*b^4*B)*EllipticPi[(2*b)/(a + b), (c
+ d*x)/2, 2])/(a + b) + (8*a*(2*a^4*A - 10*a^2*A*b^2 + 5*A*b^4 + 4*a^3*b*B - a*b^3*B)*((a + b)*EllipticF[(c +
d*x)/2, 2] - a*EllipticPi[(2*b)/(a + b), (c + d*x)/2, 2]))/(b*(a + b)) + ((8*a^4*A - 29*a^2*A*b^2 + 15*A*b^4
+ 9*a^3*b*B - 3*a*b^3*B)*(-2*a*b*EllipticE[ArcSin[Sqrt[Cos[c + d*x]]], -1] + 2*a*(a + b)*EllipticF[ArcSin[Sqrt
[Cos[c + d*x]]], -1] + (-2*a^2 + b^2)*EllipticPi[-(b/a), ArcSin[Sqrt[Cos[c + d*x]]], -1])*Sin[c + d*x])/(a*b*S
qrt[Sin[c + d*x]^2]))/((a - b)^2*(a + b)^2)) + (Sqrt[Cos[c + d*x]]*(2*a*b*(16*a^4*A - 47*a^2*A*b^2 + 25*A*b^4
+ 11*a^3*b*B - 5*a*b^3*B)*Sin[c + d*x] + b^2*(8*a^4*A - 29*a^2*A*b^2 + 15*A*b^4 + 9*a^3*b*B - 3*a*b^3*B)*Sin[2
*(c + d*x)] + 16*A*(a^3 - a*b^2)^2*Tan[c + d*x]))/((a^2 - b^2)^2*(a + b*Cos[c + d*x])^2))/(8*a^3*d)
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*cos(d*x+c))/cos(d*x+c)^(3/2)/(a+b*cos(d*x+c))^3,x, algorithm="fricas")
[Out]
Timed out
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {B \cos \left (d x + c\right ) + A}{{\left (b \cos \left (d x + c\right ) + a\right )}^{3} \cos \left (d x + c\right )^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*cos(d*x+c))/cos(d*x+c)^(3/2)/(a+b*cos(d*x+c))^3,x, algorithm="giac")
[Out]
integrate((B*cos(d*x + c) + A)/((b*cos(d*x + c) + a)^3*cos(d*x + c)^(3/2)), x)
________________________________________________________________________________________
maple [B] time = 7.37, size = 2002, normalized size = 4.77 \[ \text {Expression too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A+B*cos(d*x+c))/cos(d*x+c)^(3/2)/(a+b*cos(d*x+c))^3,x)
[Out]
-(-(-2*cos(1/2*d*x+1/2*c)^2+1)*sin(1/2*d*x+1/2*c)^2)^(1/2)*(2*(-A*b+B*a)/a*(-1/2*b^2/a/(a^2-b^2)*cos(1/2*d*x+1
/2*c)*(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)/(2*cos(1/2*d*x+1/2*c)^2*b+a-b)^2-3/4*b^2*(3*a^2-b^2
)/a^2/(a^2-b^2)^2*cos(1/2*d*x+1/2*c)*(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)/(2*cos(1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(cos(1/2*d*x+1/2*c),2^(1/2))+2*(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(
1/2)*cos(1/2*d*x+1/2*c)*sin(1/2*d*x+1/2*c)^2)/sin(1/2*d*x+1/2*c)^2/(2*sin(1/2*d*x+1/2*c)^2-1))/sin(1/2*d*x+1/2
*c)/(2*cos(1/2*d*x+1/2*c)^2-1)^(1/2)/d
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*cos(d*x+c))/cos(d*x+c)^(3/2)/(a+b*cos(d*x+c))^3,x, algorithm="maxima")
[Out]
Exception raised: RuntimeError >> ECL says: THROW: The catch RAT-ERR is undefined.
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {A+B\,\cos \left (c+d\,x\right )}{{\cos \left (c+d\,x\right )}^{3/2}\,{\left (a+b\,\cos \left (c+d\,x\right )\right )}^3} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A + B*cos(c + d*x))/(cos(c + d*x)^(3/2)*(a + b*cos(c + d*x))^3),x)
[Out]
int((A + B*cos(c + d*x))/(cos(c + d*x)^(3/2)*(a + b*cos(c + d*x))^3), x)
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*cos(d*x+c))/cos(d*x+c)**(3/2)/(a+b*cos(d*x+c))**3,x)
[Out]
Timed out
________________________________________________________________________________________